import { Entity, PrimaryGeneratedColumn } from "typeorm";
import { Code, Money, UpdateDate } from "../utils";

@Entity({
    name: 'ks_live_room_day_log'
})
export class KsLiveRoomDayLog {
    @PrimaryGeneratedColumn()
    id: number;

    @Code({ default: '' })
    year: string;

    @Code({ default: '' })
    month: string;

    @Code({ default: '' })
    day: string;

    @Money({ default: 0 })
    count: number;

    @Code({ default: '' })
    pkg: string;

    @Code({ default: '' })
    uuid: string;

    @Code({ default: '' })
    owner: string;

    @UpdateDate()
    update_date: Date;
}